<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class FriListController extends Controller
{
    public static function getFri()
    {
        //查询
        $fris = DB::table('fri')->get();
        // dd($fris);
        //解析模板
        return view('Home.fri.frilist',['fris'=> $fris]);
    }
}
